package com.zz.hhbl.config

import com.zz.framework.BuildConfig


/**
 * Copyright © 2020 zanezhao All rights reserved.
 * Created on 2020/3/24 3:18 PM.
 * @version: V1.0
 */
object AppConfig {
    const val PAGE_SIZE: Int = 20
    //正式服务器地址
    const val BASE_URL = "http://14.103.144.167:8080/"
    //测试服务器地址
    const val BASE_URL_DEBUG = "http://14.103.144.167:8080/"

    fun getBaseUrl(): String {
        return if (BuildConfig.DEBUG) BASE_URL_DEBUG
        else BASE_URL
    }
}